Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib

Contributions

XML Source

<?xml version="1.0"?>

<component
    name="org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib">


  <extension
      target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
      point="notifications">

    <notification name="CommentPublication" channel="email" enabled="true" availableIn="Workspace"
      autoSubscribed="false" template="comment" subject="Comment published" label="notifications.name.CommentPublication">
      <event name="commentPublished"/>
    </notification>
    
  </extension>
  
  <extension
    target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
    point="templates">

    <template name="comment" src="templates/comment.ftl" />

  </extension>

</component>